gtk4.git
12 years agoall: Add names to timeouts
Bastien Nocera [Tue, 22 Oct 2013 13:43:43 +0000 (15:43 +0200)]
all: Add names to timeouts

Add names to every timeout we setup, so it's easier to track their
usage, and debug possible misbehaviour.

https://bugzilla.gnome.org/show_bug.cgi?id=710651

12 years agoFix a typo
Matthias Clasen [Wed, 23 Oct 2013 10:27:09 +0000 (06:27 -0400)]
Fix a typo

12 years agoAdd missing symbol to docs
Jasper St. Pierre [Tue, 22 Oct 2013 18:56:12 +0000 (14:56 -0400)]
Add missing symbol to docs

12 years agoBump GLib req to 2.39
Matthias Clasen [Tue, 22 Oct 2013 11:37:46 +0000 (07:37 -0400)]
Bump GLib req to 2.39

Needed for GNotification.

12 years agoAdd some (silly) GNotification example
Matthias Clasen [Mon, 21 Oct 2013 21:23:44 +0000 (17:23 -0400)]
Add some (silly) GNotification example

Bloatpad can now notify you.

12 years agogdkwindow-x11: Don't set WM_TAKE_FOCUS if accept_focus is FALSE
Jasper St. Pierre [Thu, 17 Oct 2013 02:17:16 +0000 (22:17 -0400)]
gdkwindow-x11: Don't set WM_TAKE_FOCUS if accept_focus is FALSE

Otherwise, we'll be in the "Globally Active" mode instead of the
"No Input" mode.

https://bugzilla.gnome.org/show_bug.cgi?id=710389

12 years agoIcon theme: Hardcode fallback through the 'gnome' icon theme
Matthias Clasen [Mon, 21 Oct 2013 16:58:29 +0000 (12:58 -0400)]
Icon theme: Hardcode fallback through the 'gnome' icon theme

This is what we used to get through the Net/FallbackIcontheme
setting. Nobody has ever set this setting to a different value,
and people have come to rely on GTK+ applications getting their
icons this way.

12 years agoflowbox: Always return a NULL iter when we are at the end
Debarshi Ray [Mon, 21 Oct 2013 14:32:49 +0000 (16:32 +0200)]
flowbox: Always return a NULL iter when we are at the end

The objective is simplify the semantics of the code so that we don't
need to check for "(iter != NULL && !g_sequence_iter_is_end (iter))"
in the callers.

12 years agoflowbox: Be careful when the container is empty
Debarshi Ray [Mon, 21 Oct 2013 14:21:11 +0000 (16:21 +0200)]
flowbox: Be careful when the container is empty

Otherwise, showing an empty GtkFlowBox will lead to:
GLib-CRITICAL **: g_sequence_get: assertion '!is_end (iter)' failed

12 years agogtktoolbar: Make the icon-size property actually an enum
Jasper St. Pierre [Fri, 18 Oct 2013 20:12:58 +0000 (16:12 -0400)]
gtktoolbar: Make the icon-size property actually an enum

As this is what it's interpreted as.

12 years agoUpdated Russian translation
Stas Solovey [Fri, 18 Oct 2013 14:23:16 +0000 (18:23 +0400)]
Updated Russian translation

12 years agostackswitcher: Only show a button if the stack child is visible
Jasper St. Pierre [Thu, 17 Oct 2013 20:05:05 +0000 (16:05 -0400)]
stackswitcher: Only show a button if the stack child is visible

12 years agogtkflowbox: Fix warning when realizing
Jasper St. Pierre [Thu, 17 Oct 2013 19:12:58 +0000 (15:12 -0400)]
gtkflowbox: Fix warning when realizing

set_background needs the widget's window to be set.

12 years agoAdd docs for new API
Matthias Clasen [Thu, 17 Oct 2013 03:35:55 +0000 (23:35 -0400)]
Add docs for new API

12 years agoAdd new symbols to the docs
Matthias Clasen [Thu, 17 Oct 2013 03:16:11 +0000 (23:16 -0400)]
Add new symbols to the docs

12 years agoAdd an index for symbols added in 3.12
Matthias Clasen [Thu, 17 Oct 2013 03:14:57 +0000 (23:14 -0400)]
Add an index for symbols added in 3.12

12 years agoFix since tags
Matthias Clasen [Thu, 17 Oct 2013 03:14:07 +0000 (23:14 -0400)]
Fix since tags

Mark 3.12 api as such.

12 years agonotebook: inform the theme whether show-borders was set
William Jon McCann [Wed, 16 Oct 2013 16:03:33 +0000 (12:03 -0400)]
notebook: inform the theme whether show-borders was set

So that it can draw a border or not. If show-borders=true then
the notebook will have GTK_STYLE_CLASS_FRAME.

12 years agoRemove superfluous g_file_test()
Timothy Arceri [Fri, 4 Oct 2013 11:47:03 +0000 (21:47 +1000)]
Remove superfluous g_file_test()

https://bugzilla.gnome.org/show_bug.cgi?id=168530
Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
12 years agoFix GtkToolButton possibly being empty
Olivier Brunel [Mon, 14 Oct 2013 18:08:30 +0000 (20:08 +0200)]
Fix GtkToolButton possibly being empty

With style BOTH_HORIZ the label would not be selected (if not marked
"important") and when there's no icon, it would result in an empty button.

Signed-off-by: Olivier Brunel <jjk@jjacky.com>
https://bugzilla.gnome.org/show_bug.cgi?id=710134

12 years agoGtkBuilder: Fall back to gtk_test_register_all_types if type lookup fails
Alexander Larsson [Mon, 14 Oct 2013 14:05:08 +0000 (16:05 +0200)]
GtkBuilder: Fall back to gtk_test_register_all_types if type lookup fails

This is important because the dlsym() approach can fail if gtk was
loaded with RTLD_LOCAL.

https://bugzilla.gnome.org/show_bug.cgi?id=710096

12 years agogdkevents.h: Mention _get_source_device()
Bastien Nocera [Tue, 8 Oct 2013 09:44:37 +0000 (11:44 +0200)]
gdkevents.h: Mention _get_source_device()

It's too easy getting bitten by the ->device red herring, thinking
that it's the original input device the event originated from.

https://bugzilla.gnome.org/show_bug.cgi?id=709621

12 years agoFix an oversight
Matthias Clasen [Wed, 16 Oct 2013 01:29:06 +0000 (21:29 -0400)]
Fix an oversight

Followup for 3c41d4865e230f41a3f4cb5f72e438a0788c7bb3

12 years agoFall back to non-symbolic icons
Matthias Clasen [Wed, 16 Oct 2013 01:19:17 +0000 (21:19 -0400)]
Fall back to non-symbolic icons

When doing fallback for symbolic icons, we first shorten
the name at dashes while preserving the -symbolic suffix.
But after exhausting that, we should also try stripping
the suffix.

https://bugzilla.gnome.org/show_bug.cgi?id=708163

12 years agotooltip: Fix possible wrong placement
Olivier Brunel [Tue, 15 Oct 2013 13:06:26 +0000 (15:06 +0200)]
tooltip: Fix possible wrong placement

When showing a tooltip on the edge of a monitor, the tooltip could be wrongly
placed and be shown going from one monitor to the next.

This happened because the current_window wasn't set visible, and when it wasn't
the returned allocated size would be 1, hence wrong calculations.

Signed-off-by: Olivier Brunel <jjk@jjacky.com>
https://bugzilla.gnome.org/show_bug.cgi?id=698730

12 years agoFix a warning
Yosef Or Boczko [Wed, 9 Oct 2013 00:15:14 +0000 (03:15 +0300)]
Fix a warning

The PangoWrapMode enum has identical layout to GtkWrapMode,
but using the two interchangably causes (justified) compiler
warnings.

https://bugzilla.gnome.org/show_bug.cgi?id=709697

12 years agoSet an error when loading a GtkIconInfo fails
Matthias Clasen [Wed, 16 Oct 2013 00:00:57 +0000 (20:00 -0400)]
Set an error when loading a GtkIconInfo fails

Failure to do so leads to assertion failures.
https://bugzilla.gnome.org/show_bug.cgi?id=710073

12 years agoWayland: avoid accidental export of internal symbols
Matthias Clasen [Tue, 15 Oct 2013 23:41:26 +0000 (19:41 -0400)]
Wayland: avoid accidental export of internal symbols

Some symbols in the generated Wayland code were getting
decorated with WL_EXPORT, causing them to show up in the
libgdk exports. We don't want that.

https://bugzilla.gnome.org/show_bug.cgi?id=710141

12 years agoUpdated POTFILES.in
Piotr Drąg [Tue, 15 Oct 2013 22:33:53 +0000 (00:33 +0200)]
Updated POTFILES.in

12 years agoWayland: fix a crash in opaque region handling
Matthias Clasen [Tue, 15 Oct 2013 22:19:22 +0000 (18:19 -0400)]
Wayland: fix a crash in opaque region handling

We may get a NULL region passed to the backend, which means
'nothing is opaque'. In that case, don't crash, but pass
the information on to the compositor.

http://bugzilla.gnome.org/show_bug.cgi?id=709854

12 years agobloatpad: test dynamic accels
Ryan Lortie [Wed, 10 Jul 2013 03:51:40 +0000 (23:51 -0400)]
bloatpad: test dynamic accels

...this stuff will be in the action description soon.

12 years agoGtkApplication: a new approach to accels
Ryan Lortie [Wed, 10 Jul 2013 03:44:51 +0000 (23:44 -0400)]
GtkApplication: a new approach to accels

Rework how accels are handled on GtkApplicationWindow.

Instead of having GtkApplication fill the GtkAccelMap which is then used
by GtkApplicationWindow to create a GtkAccelGroup filled with closures
that is then associated with the window, do it directly.

GtkApplication now keeps a list of accels and their actions.
Accelerators on a GtkApplicationWindow ask GtkApplication to execute the
appropriate action.

This saves a fair bit of complexity and memory use (due to not having to
create all those closures and accelmap entries).  The new approach also
supports multiple accels per action (although there is not yet a public
API for it).

This patch (and the ones before) Reviewed and ACK'd by Matthias Clasen.

12 years agoGtkMenuTrackerItem: add support for dynamic accels
Ryan Lortie [Wed, 10 Jul 2013 02:50:14 +0000 (22:50 -0400)]
GtkMenuTrackerItem: add support for dynamic accels

Add support for pulling the primary accel out of the GtkActionMuxer.

With this change, it is no longer necessary to have the accel=''
attribute hardcoded onto each menu item (and, in fact, it should be left
off if you intend to have support for dynamic accelerator changing).

Specifying accel='' is a good way to force an accelerator not to be
displayed on a menu item.

12 years agoGtkMenuTrackerItem: use "action and target" format
Ryan Lortie [Wed, 10 Jul 2013 02:48:29 +0000 (22:48 -0400)]
GtkMenuTrackerItem: use "action and target" format

Store "action and target" format inside each GtkMenuTrackerItem.  This
makes action invocation more efficient (no hash table lookups or
allocations) and slightly simplifies handling of action namespace.

More importantly, this will be used when we start to get accels from
GtkActionMuxer.

12 years agoGtkActionMuxer: store primary accels
Ryan Lortie [Wed, 10 Jul 2013 02:37:17 +0000 (22:37 -0400)]
GtkActionMuxer: store primary accels

Reuse the existing infrastructure in GtkActionMuxer for propagation of
accelerator information: in particular, what accel label ought to appear
on menu items for a particular action and target.

This is a good idea because we want accels to travel along with the
actions that they're tied to and reusing GtkActionMuxer will allow us to
do that without creating another hierarchy of a different class for the
sole purpose of filling in accel labels on menu items.

Doing it this ways also allows those who copy/paste GtkActionMuxer to
insert the accels for themselves.

Add a new method on the GtkActionObserver interface to report changes.

This patch introduces a new concept: "action and target" notation for
actions.  This format looks like so:

  "'target'|app.action"

or for non-targeted actions:

  "|app.action"

and it is used over a number of possible alternative formats for some
good reasons:

 - it's very easy to get a nul-terminated action name out of this format
   when we need it, by using strrchr('|') + 1

 - we can also get the target out of it using g_variant_parse() because
   this function takes a pointer to a 'limit' character that is not
   parsed past: we use the '|' for this

 - it's extremely easy to hash on this format (just use a normal string
   hash) vs. attempting to hash on a string plus a GVariant

A close contender was to use detailed action strings here, but these are
not used for two reasons:

 - it's not possible to easily get the action name or target out of the
   strings without more work than the "action and target" format
   requires

 - we still intend to use detailed action strings on API (since they are
   a lot nicer to look at) but detailed action strings can be given in
   non-canonical forms (eg: 'foo::bar' and 'foo("bar")' are equivalent)
   so we'd have to go through a normalisation step anyway.  Since we're
   doing that already, we may as well convert to a more convenient
   internal format.

This new "action and target" format is going to start appearing in a lot
more places as action descriptions are introduced.

I suspect that nobody is using '|' in their action names, but in case I
am proven wrong, we can always switch to using something more exotic as
a separator character (such as '\x01' or '\xff' or the like).

12 years agoGtkWindow: change muxer setup with application
Ryan Lortie [Wed, 10 Jul 2013 02:33:22 +0000 (22:33 -0400)]
GtkWindow: change muxer setup with application

Previously, GtkWindow would add the "app" action group to its own
toplevel muxer.

Change the setup so that GtkApplication creates the toplevel muxer and
adds itself to it as "app".  Use this muxer as the parent muxer of any
GtkWindow associated with the application.

This saves a small amount of memory and will allow for accels to be
propagated from the application through to all of the windows.

12 years agoGtkBuilder: add GtkApplication
Ryan Lortie [Sun, 16 Jun 2013 20:29:50 +0000 (16:29 -0400)]
GtkBuilder: add GtkApplication

Add a GtkApplication (private) field to GtkBuilder

12 years agoFix a crash in icon handling
Matthias Clasen [Tue, 15 Oct 2013 12:04:25 +0000 (08:04 -0400)]
Fix a crash in icon handling

The load_error was freed in two places.
Fix based on a patch in
https://bugzilla.gnome.org/show_bug.cgi?id=709967

12 years agoUpdated Spanish translation
Daniel Mustieles [Tue, 15 Oct 2013 09:12:22 +0000 (11:12 +0200)]
Updated Spanish translation

12 years agoUpdated Indonesian translation
Andika Triwidada [Tue, 15 Oct 2013 05:10:43 +0000 (12:10 +0700)]
Updated Indonesian translation

12 years agoRestore accessible names for image-only buttons
Matthias Clasen [Mon, 14 Oct 2013 14:33:32 +0000 (10:33 -0400)]
Restore accessible names for image-only buttons

With the stock system being deprecated now, we should provide
meaningful accessible names for buttons that are constructed
from icon names or GIcons. This commit reuses the existing
translations.

It is possible that some common icon names are not covered
here because they were not present as stock items. These can
be added to the table later.

12 years ago[l10n] Updated Catalan (Valencian) translation
Carles Ferrando [Sun, 13 Oct 2013 20:24:00 +0000 (22:24 +0200)]
[l10n] Updated Catalan (Valencian) translation

12 years ago[l10n] Update Catalan translation
Gil Forcada [Sun, 13 Oct 2013 20:23:34 +0000 (22:23 +0200)]
[l10n] Update Catalan translation

12 years agoUpdated translation for Afrikaans (af)
Friedel Wolff [Sun, 13 Oct 2013 15:26:13 +0000 (17:26 +0200)]
Updated translation for Afrikaans (af)

12 years agoBug 709939 - monitor reconfiguration while GtkOffscreenWindows
Charles Reiss [Fri, 11 Oct 2013 22:53:37 +0000 (15:53 -0700)]
Bug 709939 - monitor reconfiguration while GtkOffscreenWindows

exist triggers crash on quartz. Special case the position update
to ignore the off-screen windows.

12 years agoQuell a compiler warning
Matthias Clasen [Fri, 11 Oct 2013 02:14:32 +0000 (22:14 -0400)]
Quell a compiler warning

12 years agoNULL check on default keymap
Philip Chimento [Wed, 28 Aug 2013 06:46:22 +0000 (23:46 -0700)]
NULL check on default keymap

Ensure that Quartz's default keymap is not accessed before it is
created.

12 years agoFix infinite loop in gdkevents.c _gdk_event_queue_find_first
Hamish Mackenzie [Sat, 28 Sep 2013 16:06:53 +0000 (05:06 +1300)]
Fix infinite loop in gdkevents.c _gdk_event_queue_find_first

12 years agoEnsure src and dest are GdkWindows in _gdk_sythesize_crossing_events
John Ralls [Fri, 11 Oct 2013 17:40:50 +0000 (10:40 -0700)]
Ensure src and dest are GdkWindows in _gdk_sythesize_crossing_events

Discovered via a crash because b's (dest's) toplevel was NULL;
ensuring that the dest is actually a GdkWindow or setting b to NULL
prevents that path from being taken.

12 years agoFix double-free introduced in f86dc163
John Ralls [Fri, 11 Oct 2013 17:40:26 +0000 (10:40 -0700)]
Fix double-free introduced in f86dc163

12 years agospinner: don't expand to fill the allocated space
William Jon McCann [Thu, 10 Oct 2013 20:54:16 +0000 (16:54 -0400)]
spinner: don't expand to fill the allocated space

Spinners are essentially animated symbolic icons. We don't really
want them being rendered to arbitrary sizes. Also the current
technique for rendering the activity is not suitable for larger
sizes. Until we have a better technique we should limit the size
to the MENU icon size or exactly twice that size.

12 years agolistbox: Fix keynav_failed() parameter in move_cursor()
Florian Müllner [Tue, 8 Oct 2013 21:56:19 +0000 (23:56 +0200)]
listbox: Fix keynav_failed() parameter in move_cursor()

The 'direction' parameter to gtk_widget_keynav_failed() is based on
gtk_list_box_move_cursor()'s 'count' parameter. However if the passed
in movement is GTK_MOVEMENT_DISPLAY_LINES, 'count' is modified by
the keynav handling and will always be 0. To avoid messing up the
'direction' parameter, use a local variable for keynav handling and
leave 'count' untouched.

https://bugzilla.gnome.org/show_bug.cgi?id=709687

12 years agoGMenu docs: Tiny grammar fix
Murray Cumming [Fri, 11 Oct 2013 08:25:24 +0000 (10:25 +0200)]
GMenu docs: Tiny grammar fix

12 years agoL10N: Updated Persian translations
Arash Mousavi [Fri, 11 Oct 2013 06:26:24 +0000 (09:56 +0330)]
L10N: Updated Persian translations

12 years agoSuppress cursor theme unsupported warning when there's no theme.
John Ralls [Thu, 10 Oct 2013 22:35:41 +0000 (15:35 -0700)]
Suppress cursor theme unsupported warning when there's no theme.

12 years agoImplement gtk_drag_begin_with_coordinates () for quartz.
John Ralls [Thu, 10 Oct 2013 22:34:08 +0000 (15:34 -0700)]
Implement gtk_drag_begin_with_coordinates () for quartz.

12 years agoSuppress frequent device assertions
John Ralls [Thu, 10 Oct 2013 22:24:43 +0000 (15:24 -0700)]
Suppress frequent device assertions

Because send crossing event is usually called with a NULL source_device in quartz.

12 years agoQuartz: Set the drag context target list
John Ralls [Thu, 10 Oct 2013 22:21:35 +0000 (15:21 -0700)]
Quartz: Set the drag context target list

So that gdk_drag_context_list_targets() actually returns something.

12 years agoGtkCellRendererToggle: correct "toggled" signal documentation
Dan Williams [Thu, 10 Oct 2013 21:31:44 +0000 (16:31 -0500)]
GtkCellRendererToggle: correct "toggled" signal documentation

Previous commit wrongly identified "active" as containing the new
value.  Instead, applications must determine the new value to
update the model with manually based on the value currently in the
model.

12 years agoGtkCellRendererToggle: update documentation of 'toggled' signal
Dan Williams [Thu, 10 Oct 2013 20:33:36 +0000 (15:33 -0500)]
GtkCellRendererToggle: update documentation of 'toggled' signal

Clarify that applications are expected to handle updating the model
from the 'active' property, like GtkCellRendererText does for the
'edited' property.

12 years agosearch-bar: use menu icon size for the close button
William Jon McCann [Wed, 9 Oct 2013 23:19:12 +0000 (19:19 -0400)]
search-bar: use menu icon size for the close button

12 years agosearch-bar: make independent of toolbar styling
William Jon McCann [Wed, 9 Oct 2013 23:10:40 +0000 (19:10 -0400)]
search-bar: make independent of toolbar styling

Don't use a toolbar as an implementation detail of the search bar
to make styling them differently a bit easier.

12 years agoGtkSearchBar: replace incomplete example with a real one
Xavier Claessens [Wed, 9 Oct 2013 15:57:42 +0000 (11:57 -0400)]
GtkSearchBar: replace incomplete example with a real one

https://bugzilla.gnome.org/show_bug.cgi?id=709745

12 years agoAdd example app for GtkSearchBar
Xavier Claessens [Wed, 9 Oct 2013 15:47:30 +0000 (11:47 -0400)]
Add example app for GtkSearchBar

https://bugzilla.gnome.org/show_bug.cgi?id=709745

12 years agoGtkMenu: Document that gtk_widget_insert_action_group() can be used
Xavier Claessens [Thu, 10 Oct 2013 17:00:53 +0000 (13:00 -0400)]
GtkMenu: Document that gtk_widget_insert_action_group() can be used

12 years agoUpdated Hungarian translation
Gabor Kelemen [Thu, 10 Oct 2013 12:55:08 +0000 (14:55 +0200)]
Updated Hungarian translation

12 years agorevealer: Use the same transition animation as GtkStack
Jasper St. Pierre [Wed, 9 Oct 2013 22:29:19 +0000 (18:29 -0400)]
revealer: Use the same transition animation as GtkStack

12 years agostack: Remove some confusing whitespace
Jasper St. Pierre [Wed, 9 Oct 2013 22:26:34 +0000 (18:26 -0400)]
stack: Remove some confusing whitespace

12 years agoFix GI warnings
Jasper St. Pierre [Wed, 9 Oct 2013 18:09:35 +0000 (14:09 -0400)]
Fix GI warnings

12 years agostack: Warn when setting a visible child which is not in the stack
David King [Mon, 7 Oct 2013 12:46:16 +0000 (13:46 +0100)]
stack: Warn when setting a visible child which is not in the stack

https://bugzilla.gnome.org/show_bug.cgi?id=709613

12 years agoAdd various tests for stock widgets
Matthias Clasen [Mon, 7 Oct 2013 22:19:16 +0000 (18:19 -0400)]
Add various tests for stock widgets

This test demonstrates that various deprecated ways
to construct buttons and menuitems still work as they
are supposed to, including always-show-image functionality.

12 years agoAnother forgotten a11y header
Matthias Clasen [Mon, 7 Oct 2013 20:43:11 +0000 (16:43 -0400)]
Another forgotten a11y header

12 years agorange: start autoscrolling near the edges of ranges
William Jon McCann [Mon, 7 Oct 2013 16:01:13 +0000 (12:01 -0400)]
range: start autoscrolling near the edges of ranges

If a range goes all the way to the edge of the screen then we don't
have any way to activate autoscrolling. By adding a small region
at the ends of the range we can handle this case. This is the same
approach used in treeviews.

12 years agoMake gtk-demo use the newer app icon
Jasper St. Pierre [Mon, 7 Oct 2013 20:28:04 +0000 (16:28 -0400)]
Make gtk-demo use the newer app icon

12 years agoInstall flowbox a11y headers
Matthias Clasen [Mon, 7 Oct 2013 20:29:11 +0000 (16:29 -0400)]
Install flowbox a11y headers

Pointed out by Jasper St. Pierre.

12 years agoUpdated POTFILES.in
Piotr Drąg [Mon, 7 Oct 2013 20:22:01 +0000 (22:22 +0200)]
Updated POTFILES.in

12 years agobroadway: Don't bother memdup-ing
Jasper St. Pierre [Thu, 26 Sep 2013 18:09:35 +0000 (14:09 -0400)]
broadway: Don't bother memdup-ing

If we're going to run off the end due to an invalid message,
we're going to run off the end. We'll protect this by doing
proper bounds checking in the future, but the malloc gives
us nothing for now.

12 years agobroadway: Use a binary protocol to send to the server
Jasper St. Pierre [Thu, 26 Sep 2013 16:21:08 +0000 (12:21 -0400)]
broadway: Use a binary protocol to send to the server

This makes the protocol easier to inspect over the wire and makes all
commands fixed-length.

12 years agobroadway: Remove authentication support
Jasper St. Pierre [Thu, 26 Sep 2013 18:04:34 +0000 (14:04 -0400)]
broadway: Remove authentication support

12 years agobroadway: Remove support for old browsers
Jasper St. Pierre [Wed, 25 Sep 2013 15:59:40 +0000 (11:59 -0400)]
broadway: Remove support for old browsers

Require binary array buffers and modern WebSocket protocol support.

12 years agoUpdate Arabic translation
Khaled Hosny [Mon, 7 Oct 2013 15:07:13 +0000 (17:07 +0200)]
Update Arabic translation

12 years agoSome updates
Matthias Clasen [Mon, 7 Oct 2013 13:05:43 +0000 (09:05 -0400)]
Some updates

12 years agoTajik translation updated
Victor Ibragimov [Mon, 7 Oct 2013 10:15:06 +0000 (15:15 +0500)]
Tajik translation updated

12 years agoUpdate Visual Studio Property Sheets
Chun-wei Fan [Mon, 7 Oct 2013 05:00:14 +0000 (13:00 +0800)]
Update Visual Studio Property Sheets

"Install" the GtkFlowBox headers

12 years agoVisual Studio 2010 Property Sheets: Cosmetics
Chun-wei Fan [Mon, 7 Oct 2013 04:55:35 +0000 (12:55 +0800)]
Visual Studio 2010 Property Sheets: Cosmetics

Make each file entry of non-autotools-completed .vcxproj.filters to be on
one line only, for consistency reasons.

12 years agoUpdate gtk3-demo Visual Studio Projects
Chun-wei Fan [Mon, 7 Oct 2013 04:17:04 +0000 (12:17 +0800)]
Update gtk3-demo Visual Studio Projects

Build the recently-introduced flowbox.c demo into the gtk3-demo demo
program.

12 years agogtk/gtkflowbox: Fix build warning/error
Chun-wei Fan [Mon, 7 Oct 2013 04:00:30 +0000 (12:00 +0800)]
gtk/gtkflowbox: Fix build warning/error

The newly-added gtk_flow_box_child_is_selected() needed to return a
gboolean, so use g_return_val_if_fail() to return FALSE when an invalid
GtkFlowBoxChild* is passed in.

12 years agoCosmetics
Matthias Clasen [Mon, 7 Oct 2013 04:05:47 +0000 (00:05 -0400)]
Cosmetics

Make the gtk-demo listbox example follow others in window
title style.

12 years agoAdd a flow box example to gtk-demo
Matthias Clasen [Mon, 7 Oct 2013 04:05:21 +0000 (00:05 -0400)]
Add a flow box example to gtk-demo

12 years agoTweak flowbox selection behaviour
Matthias Clasen [Mon, 7 Oct 2013 03:15:27 +0000 (23:15 -0400)]
Tweak flowbox selection behaviour

Make flowbox selection more orthodox. Control and Shift now
modify the selection behaviour pretty much in the same way
they do in a tree view, and clicking without modifiers will
clear the selection.

When dealing with touch devices, we treat modifier-less events
as modifying the selection.

This commit also adds a few other selection necessities, such
as catching Escape key presses to cancel rubberband selection,
and handling grab notify.

12 years agoMake resetting a filter work properly
Matthias Clasen [Tue, 1 Oct 2013 01:57:41 +0000 (21:57 -0400)]
Make resetting a filter work properly

We need to make sure all children are marked as child-visible
again when the filter func is reset.

12 years agoFix wording in the docs
Matthias Clasen [Tue, 1 Oct 2013 00:57:43 +0000 (20:57 -0400)]
Fix wording in the docs

12 years agoAdd GtkFlowBox
Matthias Clasen [Sun, 29 Sep 2013 17:43:27 +0000 (13:43 -0400)]
Add GtkFlowBox

GtkFlowBox is a container that its children in a reflowing
grid, which can be oriented horizontally or vertically.

It is similar to GtkListBox in that the children can
be sorted and filtered, and by requiring a dedicated child
widget type, GtkFlowBoxChild. It is similar to GtkTreeView
in that is supports a full set of selection modes, including
rubberband selection.

This is the culmination of work that has happened in the
egg-list-box module, and earlier in libegg. The origins of
this code are the EggSpreadTable in libegg, which was written
by Tristan van Berkom. It was moved to egg-list-box and
renamed EggFlowBox by Jon McCann, and I gave it some finishing
touched in the flowbox-improvements branch of that module.

12 years agowidget-factory: Remove accel-groups
Benjamin Otte [Sun, 6 Oct 2013 20:20:55 +0000 (22:20 +0200)]
widget-factory: Remove accel-groups

GtkMenuItem doesn't have accel groups anymore.

12 years agoPopulate GtkPlacesSidebar at initialization
John Lindgren [Sun, 6 Oct 2013 17:58:00 +0000 (17:58 +0000)]
Populate GtkPlacesSidebar at initialization

Previously, the "Places" sidebar was populated by the update_places()
call from within gtk_places_sidebar_style_set(). After
742a2f11a95a1e9ce56fe1a628743c7e8add8a57, update_places() is never called
and the sidebar is never populated unless gtk_places_sidebar_add_shortcut()
happens to be called. This commit fixes this by calling update_places()
at the end of gtk_places_sidebar_init().

https://bugzilla.gnome.org/show_bug.cgi?id=709522

12 years agoFix generation of plug/socket docs
Matthias Clasen [Sun, 6 Oct 2013 19:49:00 +0000 (15:49 -0400)]
Fix generation of plug/socket docs

The docs for GtkPlug/GtkSocket were not generated if any
of the win32, quartz, wayland backends were enabled. What
we really mean though, is that we want the docs to be generated
whenever GtkPlug/GtkSocket are included in the library, which
is when the x11 backend is enabled.

12 years agoFix build with explicit --enable-wayland-backend
Matthias Clasen [Sun, 6 Oct 2013 19:32:18 +0000 (15:32 -0400)]
Fix build with explicit --enable-wayland-backend

We forgot to set set WAYLAND_SCANNER in this case.

12 years agoconfigure: Make Wayland backend optional
Matthias Clasen [Sun, 6 Oct 2013 19:13:48 +0000 (15:13 -0400)]
configure: Make Wayland backend optional

As long as we are not ready to switch over the default backend,
arrange ./configure without explicit backend options makes the
x11 backend mandatory and the wayland backend optional (depending
on whether we find Wayland dependencies).

http://bugzilla.gnome.org/show_bug.cgi?id=709212

12 years agoRemove opacity-groups
Alexander Larsson [Thu, 4 Jul 2013 11:41:00 +0000 (11:41 +0000)]
Remove opacity-groups

GtkWidget had a hack where if opacity is 0.999 we set up an opacity group when
rendering the widget. This is no longer needed in 3.10, and GtkStack doesn't
use it anymore.

GdStack is using it, so applications should be ported from GdStack to GtkStack
in 3.12.

https://bugzilla.gnome.org/show_bug.cgi?id=703603

12 years agoa11y: Drop obsolete focus tab handling in notebooks
Matthias Clasen [Wed, 13 Feb 2013 03:36:20 +0000 (22:36 -0500)]
a11y: Drop obsolete focus tab handling in notebooks

GtkNotebook lost the concept of a separate 'focus tab' ages ago.
Time for the accessible implementation to follow suit.

https://bugzilla.gnome.org/show_bug.cgi?id=693586